配置文件 (config.yml)
配置文件位于 plugins/PictureCharacters/config.yml
:
# Picture Characters Configuration
# Define your custom Unicode picture characters here
characters:
# Basic shapes
circle: "○"
square: "□"
triangle: "△"
# Playing card suits
heart: "♥"
diamond: "♦"
club: "♣"
spade: "♠"
# Chess pieces
chess_king: "♔"
chess_queen: "♕"
# Weather symbols
sun: "☀"
cloud: "☁"
# Private Use Area characters (may require custom font)
custom1: "\uE000"
custom2: "\uE001"
custom3: "\uE002"
# Add your own custom characters below
mycharacter: "★"
myicon: "\uE003"
配置说明
- characters - 定义自定义字符的配置节点
- 字符名称 - 用于在占位符中引用的名称
- 字符值 - 实际的 Unicode 字符或转义序列
- 私有区域 - 使用
\uE000
格式的 Unicode 私有区域字符
添加自定义字符
您可以在 characters
部分添加自己的字符,格式为 名称: "字符"
。例如:
characters:
mycharacter: "★"
myicon: "\uE003"